import React, { Component, useState, useEffect } from 'react'
import url from '../assets/dog.gif'
import fn from '../ttjj'

export default function TT() {
  let { x, y } = fn()
  x += 200
  y -= 50
  return (
    <div>
      <img src={url} alt="" style={{ position: 'absolute', left: x, top: y }} />
    </div>
  )
}
